package cate.game.role.system.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBSystem;
import cate.game.role.Role;
import cate.game.role.system.RoleSystem;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "主角系统设置 の 返回")
public class RoleSystemResp implements MsgOutput {

    @NoteField(value = "主角系统设置数据")
    public RoleSystem system;

    public RoleSystemResp(){
    }

    public RoleSystemResp(Role role){
        this.system = role.getSystem();
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBSystem.DATA_RESP;
    }
}
